# ============================================================
# * Copyright © hk. 2022-2025. All rights reserved.
# * File name: CMakeLists.txt
# * Author   : 苏木
# * Date     : 2025-05-22
# * Version  : 
# * Description: cmake version 3.16.3
# ============================================================
## https://cmake.com.cn/cmake/help/latest/guide/tutorial/index.html
## https://cmake.org/cmake/help/latest/

message(STATUS "[USER:FUNC_VERSION]This is sub dir: func_version!") 
message(STATUS "[USER:FUNC_VERSION]CMAKE_SOURCE_DIR : ${CMAKE_SOURCE_DIR}") # 源的最顶层目录(即最顶层CMakeLists.txt文件所在的位置)。这个变量永远不会变。
message(STATUS "[USER:FUNC_VERSION]CMAKE_BINARY_DIR : ${CMAKE_BINARY_DIR}") # 构建的最顶层目录。这个变量永远不会改变。
message(STATUS "[USER:FUNC_VERSION]CMAKE_CURRENT_SOURCE_DIR : ${CMAKE_CURRENT_SOURCE_DIR}") # 当前处理的CMakeLists.txt文件的目录。通过add_subdirectory()处理新文件时更新。
message(STATUS "[USER:FUNC_VERSION]CMAKE_CURRENT_BINARY_DIR : ${CMAKE_CURRENT_BINARY_DIR}") # 当前处理的CMakeLists.txt文件对应的构建目录。每次调用add_subdirectory()时进行更新。

